package org.example.wx.constant;

import lombok.AllArgsConstructor;
import lombok.Data;


public enum OrderStatus {

    Submitted(1, "submitted"), Done(2, "done"), OK(3, "ok");

    private Integer type;
    private String typeStr;


    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTypeStr() {
        return typeStr;
    }

    public void setTypeStr(String typeStr) {
        this.typeStr = typeStr;
    }

    OrderStatus(Integer type) {
        this.type = type;
    }

    OrderStatus(Integer type, String typeStr) {
        this.type = type;
        this.typeStr = typeStr;
    }

    OrderStatus() {
    }
}
